package com.aier.entrance.icsocket;

import java.io.Serializable;

public class TestMessage implements Serializable{
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    private String com;                                    //传回的命令方式
    private String cardNo;                                //53命令中会传回的卡号
    private String recordTime;                           // 刷卡时间
    private String type;                                //53命令何总门状态事件
    private String isMore;                                //是否还有更多记录
    private String curNum;                                //当前的记录号
    private String sn;                                    //设备序列号

    
    public TestMessage(){
    }
   
   


    public TestMessage(String com, String cardNo, String recordTime, String type, String isMore,
        String curNum, String sn) {
    super();
        this.com = com;
        this.cardNo = cardNo;
        this.recordTime = recordTime;
        this.type = type;
        this.isMore = isMore;
        this.curNum = curNum;
        this.sn = sn;
    }




    public String getCom() {
        return com;
    }


    public void setCom(String com) {
        this.com = com;
    }


    public String getCardNo() {
        return cardNo;
    }


    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }


    public String getType() {
        return type;
    }


    public void setType(String type) {
        this.type = type;
    }


    public String getIsMore() {
        return isMore;
    }


    public void setIsMore(String isMore) {
        this.isMore = isMore;
    }


    public String getCurNum() {
        return curNum;
    }


    public void setCurNum(String curNum) {
        this.curNum = curNum;
    }


    public String getSn() {
        return sn;
    }


    public void setSn(String sn) {
        this.sn = sn;
    }
    
    public String getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(String recordTime) {
        this.recordTime = recordTime;
    }


    @Override
    public String toString() {
        return "TestMessage [com=" + com + ", cardNo=" + cardNo + ", recordTime="+ recordTime + ", type=" + type
                + ", isMore=" + isMore + ", curNum=" + curNum + ", sn=" + sn + "]";
    }
   
   
   
}
